mylist = [1,2,3,4,5,6,7,8,9,10]
my_list = []
for element in mylist:
    if element % 2 == 0:
        new = my_list.append(element)
print(my_list)


